truncate: Fix ABI change in 3.16.7-ckt1
authorBen Hutchings <ben@decadent.org.uk>
Mon, 8 Dec 2014 01:34:44 +0000 (01:34 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 16 Jan 2015 00:15:12 +0000 (00:15 +0000)
Hide the new #include from genksyms.

Gbp-Pq: Topic debian
Gbp-Pq: Name truncate-fix-abi-change-in-3.16.7-ckt1.patch

mm/truncate.c

index 699494e6aba549928795dcc2be231ecce010d3c4..ad1a99a67018b6dca4d1011dcf3062823ef2ff17 100644 (file)
@@ -20,7 +20,9 @@
 #include <linux/buffer_head.h> /* grr. try_to_release_page,
                                   do_invalidatepage */
 #include <linux/cleancache.h>
+#ifndef __GENKSYMS__
 #include <linux/rmap.h>
+#endif
 #include "internal.h"
 
 static void clear_exceptional_entry(struct address_space *mapping,